<%@ Page Title="Event Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCWeb.Models.Event>" %>
<%@ Register Src="~/Views/Menu/MainMenu.ascx" TagName="MainMenu" TagPrefix="mmuc" %>
<%@ Register Src="~/Views/Shared/LogOnUserControl.ascx" TagName="LogOnUserControl" TagPrefix="louc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <louc:LogOnUserControl ID="LogOnUserControl1" runat="server" />
    <!-- BEGIN: MainMenu -->
    <mmuc:MainMenu ID="MainMenu1" runat="server" />
    <!-- END: MainMenu -->
    <br />


    <fieldset>
        <legend>Event Details</legend>
        <p>
            EventId:
            <%= Html.Encode(Model.EventId) %>
        </p>
        <p>
            EventType:
            <%= Html.Encode(Model.EventType) %>
        </p>
        <p>
            Name:
            <%= Html.Encode(Model.Name) %>
        </p>
        <p>
            EventDate:
            <%= Html.Encode(String.Format("{0:g}", Model.EventDate)) %>
        </p>
        <p>
            MustNotify:
            <%= Html.Encode(Model.MustNotify) %>
        </p>
        <p>
            CommunityId:
            <%= Html.Encode(Model.CommunityId) %>
        </p>
        <p>
            ChairUserId:
            <%= Html.Encode(Model.ChairUserId) %>
        </p>
        <p>
            Active:
            <%= Html.Encode(Model.Active) %>
        </p>
        <p>
            NotifyDateTime:
            <%= Html.Encode(String.Format("{0:g}", Model.NotifyDateTime)) %>
        </p>
    </fieldset>
    <p>
        <%=Html.ActionLink("Back to List", "EventList") %>
    </p>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
